Anders Carlsson [Wed, 6 Mar 2002 17:47:15 +0000 (17:47 +0000)]
Register 16x16 version of properties stock icon.
2002-03-06 Anders Carlsson <andersca@gnu.org>
* gtk/gtkiconfactory.c (get_default_icons): Register 16x16 version
of properties stock icon.
* gtk/stock-icons/Makefile.am: Add stock_properties_16.png
Changwoo Ryu [Wed, 6 Mar 2002 17:09:28 +0000 (17:09 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Vincent van Adrighem [Wed, 6 Mar 2002 13:17:40 +0000 (13:17 +0000)]
nl.po Dutch translation updated by Ronald Hummelink
2002-03-06 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po Dutch translation updated by Ronald Hummelink
Owen Taylor [Wed, 6 Mar 2002 13:17:11 +0000 (13:17 +0000)]
Fix various problems when truncating the inserted text to fit into the
Wed Mar 6 00:38:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_real_insert_text): Fix various problems
when truncating the inserted text to fit into the GtkEntry
size limit of 65kb. (#73119)
Kjartan Maraas [Wed, 6 Mar 2002 06:49:40 +0000 (06:49 +0000)]
Updated Norwegian (bokmål) translation.
2002-03-06 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Germán Poó Caamaño [Wed, 6 Mar 2002 05:38:12 +0000 (05:38 +0000)]
Updated spanish translation
Jonathan Blandford [Wed, 6 Mar 2002 05:27:29 +0000 (05:27 +0000)]
move event handling to the process_action function so we can have the
Wed Mar 6 00:20:59 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_process_action): move event handling to
the process_action function so we can have the event go to
individual cells.
Owen Taylor [Wed, 6 Mar 2002 03:59:22 +0000 (03:59 +0000)]
GTK+-2.0.0 rc1
Tue Mar 5 22:16:58 2002 Owen Taylor <otaylor@redhat.com>
* GTK+-2.0.0 rc1
* docs/tutorial,faq/Makefile.am: Deal with the html directory
already being there.
* docs/faq/Makefile.am (EXTRA_DIST): Add gtk-faq.sgml to EXTRA_DIST.
Manish Singh [Wed, 6 Mar 2002 02:57:42 +0000 (02:57 +0000)]
gdk/Makefile.am use install-foo-hook instead of install-foo-local, since
2002-03-05 Manish Singh <yosh@gimp.org>
* gdk/Makefile.am
* gtk/Makefile.am: use install-foo-hook instead of install-foo-local,
since foo-local is run before the their respective builtin targets
in automake 1.5
jacob berkman [Wed, 6 Mar 2002 01:56:25 +0000 (01:56 +0000)]
change an == to =
2002-03-05 jacob berkman <jacob@ximian.com>
* configure.in: change an == to =
Tor Lillqvist [Wed, 6 Mar 2002 01:50:43 +0000 (01:50 +0000)]
gdk-pixbuf/gdk_pixbuf.rc.in gdk/win32/rc/gdk.rc.in Use GTK_API_VERSION.
2002-03-06 Tor Lillqvist <tml@iki.fi>
* gdk-pixbuf/gdk_pixbuf.rc.in
* gdk/win32/rc/gdk.rc.in
* gtk/gtk-win32.rc.in: Use GTK_API_VERSION.
Duarte Loreto [Wed, 6 Mar 2002 01:08:34 +0000 (01:08 +0000)]
Updated Portuguese translation.
2002-03-06 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Manish Singh [Wed, 6 Mar 2002 01:07:44 +0000 (01:07 +0000)]
Fix up the freetype checking logic. Suppress suprious "no" with
2002-03-05 Manish Singh <yosh@gimp.org>
* configure.in: Fix up the freetype checking logic. Suppress
suprious "no" with --disable-modules.
Tor Lillqvist [Wed, 6 Mar 2002 00:36:08 +0000 (00:36 +0000)]
Bypass calls to the grab/ungrab functions in gdkinput-win32.c, as they
2002-03-06 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
gdk_pointer_ungrab): Bypass calls to the grab/ungrab functions in
gdkinput-win32.c, as they don't effectively do anything anyway.
(build_key_event_state): Set MOD2 bit if key is in AltGr group.
(gdk_event_translate): Call _gdk_windowing_window_get_offsets()
each time the offsets are used, on the window they refer to,
instead of once in the beginning. The window in question might
change due to event propagation.
(gdk_event_translate): Set key event group to 0 for non-AltGr
keys. Do set the SHIFT bit in the key event state also for
ISO_Left_Tab. Now backtabbing finally works again.
* gdk/win32/gdkunput-win32.c: Minor debugging output change.
* gdk/win32/gdkkeys-win32.c (update_keymap): Set VK_TAB mapping to
Gdk_Tab and GDK_ISO_Left_Tab, like on X11.
(gdk_keymap_translate_keyboard_state): Add similar code as in the
non-XKB case on X11 to generate a more correct
consumed_modifiers. Add debugging output.
(gdk_keyval_name): Use the U+xxxx format for UCS characters
encoded as keyvals. Never return NULL, but hex number
representation if keyval not in table.
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): Call
SetFocus(). Doesn't seem to have any harmful effect, and probably
is close to what this function is supposed to do. But it didn't
fix GtkCombo as I had hoped.
(gdk_window_set_type_hint): Don't intern the _NET_WM_* atoms that
weren't used and wouldn't have any meaning on Win32 anyway.
Owen Taylor [Wed, 6 Mar 2002 00:30:52 +0000 (00:30 +0000)]
When setting the focus to NULL, clear the existing focus chain so that
Tue Mar 5 19:19:19 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_focus): When setting
the focus to NULL, clear the existing focus chain so
that when we focus into the window again, we start
at the beginning. (Pointed out by Tim Janik.)
James Henstridge [Wed, 6 Mar 2002 00:03:55 +0000 (00:03 +0000)]
libpango is now called libpango-1.0
2002-03-06 James Henstridge <james@daa.com.au>
* configure.in: libpango is now called libpango-1.0
Jonathan Blandford [Tue, 5 Mar 2002 23:22:27 +0000 (23:22 +0000)]
remove sizing == AUTOSIZE check. Update docs.
Tue Mar 5 18:17:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
remove sizing == AUTOSIZE check. Update docs.
Owen Taylor [Tue, 5 Mar 2002 23:10:11 +0000 (23:10 +0000)]
Don't create ->font_entry, ->font_style_entry at all rather than just not
Tue Mar 5 17:43:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_init): Don't
create ->font_entry, ->font_style_entry at all rather
than just not showing them to avoid the problem of
them popping up if gtk_widget_show_all() is done
on the dialog. (#72913, Charles Kerr.)
Jonathan Blandford [Tue, 5 Mar 2002 23:08:56 +0000 (23:08 +0000)]
doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567.
Tue Mar 5 18:06:49 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_resizable):
doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567.
Matthias Clasen [Tue, 5 Mar 2002 22:44:27 +0000 (22:44 +0000)]
Fix docs.
* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.
* gtk/gtkwindow.c (gtk_window_remove_mnemonic):
(gtk_window_add_mnemonic):
(gtk_window_mnemonic_activate): Add docs.
* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
typo in docs.
* test-loaders.c, test-images.h: More random tests.
* io-bmp.c (DecodeHeader): Fail gracefully on OOM here.
* gtk/gtk-sections.txt: Remove gtk_win32_get_installation_directory.
Owen Taylor [Tue, 5 Mar 2002 22:05:21 +0000 (22:05 +0000)]
s/menu_new/menu_item_new/. (#69199, Akira Tagoh.)
Tue Mar 5 17:02:59 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml: s/menu_new/menu_item_new/.
(#69199, Akira Tagoh.)
Owen Taylor [Tue, 5 Mar 2002 21:57:08 +0000 (21:57 +0000)]
Build the docbook version, not the old linuxdoc version.
Tue Mar 5 16:53:05 2002 Owen Taylor <otaylor@redhat.com>
* docs/faq/Makefile.am: Build the docbook version, not
the old linuxdoc version.
Owen Taylor [Tue, 5 Mar 2002 21:04:09 +0000 (21:04 +0000)]
Update version to 2.0.0
Tue Mar 5 15:47:54 2002 Owen Taylor <otaylor@redhat.com>
* configure.in test/makefile.msc **.pc.in **/*.am:
Update version to 2.0.0
* gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp
files.
* configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0,
Pango, Atk, 1.0.0.
* m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum
version.
Havoc Pennington [Tue, 5 Mar 2002 20:31:54 +0000 (20:31 +0000)]
don't assign yoffset here, just let it get updated in response to the
2002-03-05 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_size_allocate): don't assign
yoffset here, just let it get updated in response to the
value_changed. Fixes #72479
Owen Taylor [Tue, 5 Mar 2002 15:40:48 +0000 (15:40 +0000)]
ue Mar 5 10:39:03 2002 Owen Taylor <otaylor@redhat.com>
* Makefile.am (loaderdir): Put the modules into the
GTK_BINARY_VERSION directory for consistency with
immodules and theme engines.
Owen Taylor [Tue, 5 Mar 2002 15:30:52 +0000 (15:30 +0000)]
Don't use this same functions as idle callbacks and directly, to avoid
Tue Mar 5 10:29:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreeview.c (do_presize_handler)
gtk/gtktreeview.c (do_validate_rows): Don't use this
same functions as idle callbacks and directly, to avoid
threading deadlocks. (#72392, Scott Guilbeaux)
* gtk/gtktable.c (gtk_table_size_request_init): Fix
row/column confusion from recent patch. (#73505,
Vitaly Tishkov.)
Christian Rose [Tue, 5 Mar 2002 02:03:47 +0000 (02:03 +0000)]
Updated Swedish translation.
2002-03-05 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Matthias Clasen [Mon, 4 Mar 2002 22:19:47 +0000 (22:19 +0000)]
Make color selection and selection examples work.
* docs/tutorial/gtk-tut.sgml: Make color selection and selection
examples work.
* tests/testselection.c (selection_toggled, selection_clear):
Use selection_widget as selection owner - otherwise clearing the
selection doesn't work.
Matthias Clasen [Mon, 4 Mar 2002 22:04:53 +0000 (22:04 +0000)]
Move GtkOldEditable to the "Deprecated" section. (#68408)
* gtk/gtk-docs.sgml: Move GtkOldEditable to the "Deprecated"
section. (#68408)
* gtk/tmpl/gtktreeview.sgml: Close linkend attribute. (#73364)
Owen Taylor [Mon, 4 Mar 2002 20:19:04 +0000 (20:19 +0000)]
Fixes for non XKB operation. (#73103)
Mon Mar 4 12:43:48 2002 Owen Taylor <otaylor@redhat.com>
Fixes for non XKB operation. (#73103)
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab
always, not just if Shift was pressed.
* gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c
gdk/x11/gdkevents-x11.c: Move determination of group
to _gdk_x11_get_group_for_state(), fix to handle non-XKB.
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only
add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted
and unshifted keysyms are different. Only add in group_switch_mask
if the group-switched and non-group-switched keysyms are diferent.
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2
not group * keysyms_per_keycode. (Tor Lillquist)
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
Remove the hack to fudge the return value for GDK_Tab + Shift
since that didn't work -- it didn't affect the reverse mapping.
Instead fudge the non-XKB keymap instead.
Owen Taylor [Mon, 4 Mar 2002 16:04:31 +0000 (16:04 +0000)]
Fix memory leak. (#73370, Paolo Maggi).
Mon Mar 4 11:02:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (gtk_file_selection_get_selections): Fix
memory leak. (#73370, Paolo Maggi).
Owen Taylor [Mon, 4 Mar 2002 15:54:09 +0000 (15:54 +0000)]
Fix docs in terms of what out of range @page_num does. (#73371, Vitaly
Mon Mar 4 10:35:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_set_current_page): Fix docs
in terms of what out of range @page_num does. (#73371,
Vitaly Tishkov.)
Stanislav Visnovsky [Mon, 4 Mar 2002 15:48:23 +0000 (15:48 +0000)]
Updated Slovak translation.
2002-03-04 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Havoc Pennington [Mon, 4 Mar 2002 03:24:57 +0000 (03:24 +0000)]
const fix
2002-03-02 Havoc Pennington <hp@pobox.com>
* demos/gtk-demo/editable_cells.c (cell_edited): const fix
Manish Singh [Mon, 4 Mar 2002 00:39:44 +0000 (00:39 +0000)]
shut up CVS
Owen Taylor [Mon, 4 Mar 2002 00:11:25 +0000 (00:11 +0000)]
Fix to properly take the default window into account by setting a flag and
Sun Mar 3 18:47:13 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_parse_geometry): Fix
to properly take the default window into account by
setting a flag and in gtk_window_compute_configure_request_size ()
multiplying by the increments and adding in the base
size. (#72393)
* tests/testgtk.c (create_gridded_geometry): Add a
test for gridded geometry and for gtk_window_parse_geometry().
Hans Breuer [Mon, 4 Mar 2002 00:03:50 +0000 (00:03 +0000)]
don't build gtk.defs anymore
2002-03-04 Hans Breuer <hans@breuer.org>
* gtk/makefile.msc.in : don't build gtk.defs anymore
Tor Lillqvist [Sun, 3 Mar 2002 22:55:58 +0000 (22:55 +0000)]
Remove obsolete Win32-only declaration of
2002-03-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkrc.h: Remove obsolete Win32-only declaration of
gtk_win32_get_installation_directory().
Owen Taylor [Sun, 3 Mar 2002 22:15:39 +0000 (22:15 +0000)]
Back out changes to propagate keys to parent menu shells, since that broke
Sun Mar 3 17:03:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenushell.c gtk/gtkmenubar.[ch]: Back out
changes to propagate keys to parent menu shells, since
that broke stuff; rather implement ::cycle-focus as
a key binding on GtkMenuShell rather than on GtkMenuBar.
* gtk/gtkmenushell.c (gtk_menu_shell_class_init): Add
add bindings for ::cycle-focus. (In gtkmenubar.c, were
mistakently bound to ::move-focus.)
Tor Lillqvist [Sun, 3 Mar 2002 21:52:28 +0000 (21:52 +0000)]
Minor edits.
2002-03-03 Tor Lillqvist <tml@iki.fi>
* README.win32: Minor edits.
Tor Lillqvist [Sun, 3 Mar 2002 21:45:11 +0000 (21:45 +0000)]
Update to match a recent configure-generated config.h
2002-03-03 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Update to match a recent configure-generated
config.h
Owen Taylor [Sun, 3 Mar 2002 20:36:54 +0000 (20:36 +0000)]
When increasing the row or column requisitions to make them sufficient for
Sun Mar 3 15:16:07 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktable.c: When increasing the row or column
requisitions to make them sufficient for spanning widgets,
favor rows or columns with expandable children in them.
(#1261, Jonathan Blandford.)
Owen Taylor [Sun, 3 Mar 2002 19:59:29 +0000 (19:59 +0000)]
Centralize lookup and caching of cursor GC's here.
Sun Mar 3 14:26:33 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc):
Centralize lookup and caching of cursor GC's here.
* gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c
gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc().
* gtk/gtkentry.c (gtk_entry_expose): Draw cursors
under the text, not over the text.
* gtk/gtkwidget.c (gtk_widget_class_init): add
a secondary-cursor-color property.
* gtk/gtkwidget.c (gtk_widget_class_init): Decrease
the default aspect ratio to 1/25 (0.04).
* tests/testgtkrc (bell_duration): Comment out
cursor color setting.
Andraz Tori [Sun, 3 Mar 2002 19:58:36 +0000 (19:58 +0000)]
Updated Slovenian translation
Soeren Sandmann [Sun, 3 Mar 2002 19:50:50 +0000 (19:50 +0000)]
change offset of cursor corner of navigation region from (-2, 2) to (-2,
Sun Mar 3 20:48:12 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change
offset of cursor corner of navigation region from (-2, 2) to
(-2, 0).
jacob berkman [Sun, 3 Mar 2002 19:04:20 +0000 (19:04 +0000)]
add sanitize-la.sh
2002-03-03 jacob berkman <jacob@ximian.com>
* Makefile.am (EXTRA_DIST): add sanitize-la.sh
Anders Carlsson [Sun, 3 Mar 2002 17:36:32 +0000 (17:36 +0000)]
Fix tyop in docs.
2002-03-03 Anders Carlsson <andersca@gnu.org>
* gdk/x11/gdkwindow-x11.c (gdk_window_move_resize): Fix tyop
in docs.
Kristian Rietveld [Sun, 3 Mar 2002 17:29:50 +0000 (17:29 +0000)]
move edit ifs above _set_cursor code, don't collapse/expand row on double
Sat Mar 2 03:49:31 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): move edit
ifs above _set_cursor code, don't collapse/expand row on double
click, only activate (#63269)
(validate_visible_area): add two missing lines (#73161, #73162)
Owen Taylor [Sun, 3 Mar 2002 17:15:29 +0000 (17:15 +0000)]
Fix typo where pangoxft was being required instead of pangox. (Reported by
Sun Mar 3 12:13:56 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix typo where pangoxft was being
required instead of pangox. (Reported by Miles
Lane)
Owen Taylor [Sun, 3 Mar 2002 16:16:08 +0000 (16:16 +0000)]
When in split cursor mode, always add the cursor as both strong and weak
Sun Mar 3 11:12:16 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (add_cursor): When in split cursor
mode, always add the cursor as both strong and weak
so that it is drawn with the correct non-split color.
Owen Taylor [Sun, 3 Mar 2002 16:07:53 +0000 (16:07 +0000)]
Fix install location.
Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/Makefile.am (moduledir): Fix
install location.
Owen Taylor [Sun, 3 Mar 2002 15:37:40 +0000 (15:37 +0000)]
add missing dependency of objects on gtkmarshalers.h.
Sun Mar 3 10:28:32 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: add missing dependency of objects on
gtkmarshalers.h.
* gtk/Makefile.am gtk/gtk-boxed.defs: Remove completely
out of date and unused gtk-boxed.defs and the accompanying
Makefile rule to generate the complete gtk.defs.
Hans Breuer [Sun, 3 Mar 2002 15:04:56 +0000 (15:04 +0000)]
make rewrite_event_for_window() static gtk_rc_clear_realized_style()
2002-03-03 Hans Breuer <hans@breuer.org>
* gtk/gtkmain.c : make rewrite_event_for_window() static
* gtk/gtkrc.c : gtk_rc_clear_realized_style() static
* gtk/makefile.msc.in : adapt to makeenums build changes
* gtk.def : sorted alphabetical again
Sven Neumann [Sun, 3 Mar 2002 12:38:24 +0000 (12:38 +0000)]
lowercase configure --help output.
2002-03-03 Sven Neumann <sven@gimp.org>
* m4macros/gtk-2.0.m4: lowercase configure --help output.
Kjartan Maraas [Sun, 3 Mar 2002 08:46:36 +0000 (08:46 +0000)]
Updated Norwegian (bokmål) translation.
2002-03-03 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Jonathan Blandford [Sun, 3 Mar 2002 06:37:43 +0000 (06:37 +0000)]
Write documentation Write documentation
Sun Mar 3 01:36:21 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/tmpl/gtktreeviewcolumn.sgml: Write documentation
* gtk/tmpl/gtktreeview.sgml: Write documentation
Tim Janik [Sun, 3 Mar 2002 05:41:28 +0000 (05:41 +0000)]
added compile time switch to put the tree views into a hpaned for owen to
Sun Mar 3 06:39:19 2002 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.c: added compile time switch to put the tree views
into a hpaned for owen to play with.
* gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
(gtk_tree_view_column_finalize):
* gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
(gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
* gtk/gtktreeselection.c (gtk_tree_selection_finalize):
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
(gtk_tree_model_sort_set_default_sort_func),
(gtk_tree_model_sort_set_sort_func):
* gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
(gtk_list_store_set_default_sort_func),
(gtk_list_store_set_sort_func), (gtk_list_store_finalize):
add reentrancy protection around destroy() function invocation.
* gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
destroy function invocation (which was missing).
Owen Taylor [Sun, 3 Mar 2002 04:16:30 +0000 (04:16 +0000)]
Fixes for uninstalled operation with module suffixes other than .so and in
Sat Mar 2 23:08:23 2002 Owen Taylor <otaylor@redhat.com>
Fixes for uninstalled operation with module suffixes
other than .so and in general for platforms like AIX where
the module suffix isn't predictable. (#72185, problems
reported by Miroslaw Dobrzanski-Neumann)
* modules/input/Makefile.am (gtk.immodules): Query .la
files rather than shared objects in .libs when creating the
uninstalled gtk.immodules file.
* gtk/gtkmain.c (_gtk_find_module): Look for .la files
after looking for the normal soname extension to handle
cases where the soname extension isn't predictable,
like AIX.
* gtk/gtkthemes.c (gtk_theme_engine_load): Don't
call g_module_build_path... leave that to
gtk_rc_find_module_in_path.
* demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
tests/testgtk.c (test_init): tests/testtext.c (test_init)
tests/testdnd.c (test_init): Point gdk-pixbuf to .la
files rather than poking in .libs for .so files.
* gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
.libs from GDK_PIXBUF_MODULEDIR.
Owen Taylor [Sun, 3 Mar 2002 03:17:22 +0000 (03:17 +0000)]
If we can't load the module using the g_module_build_path() filename, try
Sat Mar 2 22:11:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf-io.c (_gdk_pixbuf_load_module): If we
can't load the module using the g_module_build_path()
filename, try loading it as a .la file.
* test-loaders.c: Look for modules in current directory
rather than .libs, so we find the right .la files.
* test-loaders.c: Back out some accidental commits.
Owen Taylor [Sun, 3 Mar 2002 02:52:56 +0000 (02:52 +0000)]
Handle NO_WINDOW widgets with windows that are children of widget->window.
Sat Mar 2 20:58:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_reparent): Handle NO_WINDOW
widgets with windows that are children of widget->window.
(#50279)
* tests/testgtk.c: Add eventboxes to the example so that
we are reparenting between different GdkWindows.
Owen Taylor [Sun, 3 Mar 2002 02:50:26 +0000 (02:50 +0000)]
Shell script used to strip dependencies out of .la files.
* gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
used to strip dependencies out of .la files.
Owen Taylor [Sun, 3 Mar 2002 02:35:25 +0000 (02:35 +0000)]
Bullet-proof against integer overflow.
Sat Mar 2 21:28:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf.c (gdk_pixbuf_new): Bullet-proof against integer
overflow.
Owen Taylor [Sun, 3 Mar 2002 01:43:01 +0000 (01:43 +0000)]
Add a note to the docs about how to use this in the context of changeable
Sat Mar 2 20:39:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
Add a note to the docs about how to use this in the
context of changeable accelerators. (#72382, Mark Patton)
Owen Taylor [Sun, 3 Mar 2002 00:50:02 +0000 (00:50 +0000)]
Add -lX11 into x_libs.
Sat Mar 2 19:48:10 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add -lX11 into x_libs.
Chyla Zbigniew [Sun, 3 Mar 2002 00:16:53 +0000 (00:16 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Andraz Tori [Sat, 2 Mar 2002 23:59:28 +0000 (23:59 +0000)]
Updated Slovenian translation
Owen Taylor [Sat, 2 Mar 2002 23:29:02 +0000 (23:29 +0000)]
Add a --enable-explicit-deps option to control whether dependency
Fri Mar 1 00:46:49 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a --enable-explicit-deps option to control
whether dependency libraries are written into .la files and .pc
files. Default is auto: if static libraries are off and shlib
dependencies are found, don't write deps.
* gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
used to strip dependencies out of .la files.
* Makefile.am: Add a slightly modified distcheck rule that passes
--enable-gtk-doc to the configure inside.
(So that 'make dist' succeeds inside.)
* configure.in: If pango was compiled with
--disable-explicit-deps, then repeat the checks for X and
freetype ourselves so we don't depend on linking to libraries
that pango doesn't reveal in the link line. Add some more paranoia
for whether what we detect ourselves matches what Pango backends
we found.
Tor Lillqvist [Sat, 2 Mar 2002 23:21:55 +0000 (23:21 +0000)]
Output gdk-pixbuf/gdk_pixbuf.rc.
2002-03-03 Tor Lillqvist <tml@iki.fi>
* configure.in: Output gdk-pixbuf/gdk_pixbuf.rc.
Owen Taylor [Sat, 2 Mar 2002 23:21:45 +0000 (23:21 +0000)]
Move a couple of function docs into the C file.
Sat Mar 2 15:46:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/tmpl/gtkentry.sgml: Move a couple of function
docs into the C file.
Tor Lillqvist [Sat, 2 Mar 2002 23:19:59 +0000 (23:19 +0000)]
Remove.
2002-03-03 Tor Lillqvist <tml@iki.fi>
* gtk-pixbuf.rc.in: Remove.
* gdk_pixbuf.rc.in: Name like this instead (wrong name used by
mistake by Hans).
* makefile.msc: Corresponding changes.
* Makefile.am: Use gdk_pixbuf.rc on Win32. Distribute it.
Tor Lillqvist [Sat, 2 Mar 2002 22:49:45 +0000 (22:49 +0000)]
gdk/gdk.def Add and (trivially) implement
2002-03-03 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.def
* gdk/win32/gdkevents-win32.c: Add and (trivially) implement
gdk_pointer_grab_info_libgtk_only() and
gdk_keyboard_grab_info_libgtk_only().
2002-03-02 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (build_keypress_event): Reorder
code, keyval should get a value in all cases now.
(build_keyrelease_event): Set GDK_CONTROL_MASK here, too, if it
was a control character produced with Alt+keypad digits.
(gdk_event_translate): Minor cleanups to keyboard input
handling. Still need more major work.
Owen Taylor [Sat, 2 Mar 2002 21:18:07 +0000 (21:18 +0000)]
Don't do special focus handling if draw_indicator is not set. (#64723,
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
do special focus handling if draw_indicator is not set.
(#64723, Damon Chaplin.)
Owen Taylor [Sat, 2 Mar 2002 21:01:20 +0000 (21:01 +0000)]
Clamp @max parameter passed in to [0, MAX_SIZE], improve docs. Fix default
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
gtk_entry_set_max_length): Clamp @max parameter passed in to
[0, MAX_SIZE], improve docs. Fix default and range
for ::max-length property, range for ::ncursor_position,
::selection_bound properties. (#55916, Vitaly Tishkov)
* gtk/gtkmain.c (rewrite_event_for_grabs): Fix typo
Owen Taylor [Sat, 2 Mar 2002 20:37:07 +0000 (20:37 +0000)]
Robustify tracking of pointer grab window.
Fri Mar 1 18:39:44 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h,
gdkwindow-x11.c}: Robustify tracking of pointer grab window.
* gdk/x11/gdkmain-x11.c: Keep track of current keyboard
grab window.
* gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only,
gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk
API for finding out current grab information.
* gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events
so that the effective behavior of owner_events = TRUE is changed
to "deliver events to same window group normally" instead
of "deliver events to same application normally. #69934
* gtk/gtkrange.c: Use an explicit gtk_grab_add() so that
it works within the GtkList combo, where there is a
owner_events = FALSE gdk_pointer_grab() already in effect.
(#65006, reported by Damon Chaplin)
Owen Taylor [Sat, 2 Mar 2002 20:08:39 +0000 (20:08 +0000)]
Default to --disable-gtk-doc (avoid Jade breakage) and --disable-static
Sat Mar 2 14:32:50 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Default to --disable-gtk-doc (avoid Jade
breakage) and --disable-static (static linking causes
problems with Xft changes.)
* autogen.sh: Add --enable-gtk-doc by default.
* Makefile.am: Add a 'mydistcheck' rule that passes
--enable-gtk-doc to the configure since that is needed
for 'make dist'.
* docs/tutorial/Makefile.am (dist-hook): Don't distribute
the PDF file. (Rule doesn't work on my system, plus it's
big.)
* gtk/Makefile.am: 'make dist' fixes.
Owen Taylor [Sat, 2 Mar 2002 19:11:47 +0000 (19:11 +0000)]
Switch style of stamp file usage.
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
* gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
enumeration/fags TYPE variables over to macros for get_type() functions,
for lazy definition and to get rid of expensive relocations.
* gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
definitions over manually coded get_type() functions.
* gtk/gtk.def: Updates for above
* gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
Remove from CVS, no longer used.
* configure.in: Remove checks for awk.
Sven Neumann [Sat, 2 Mar 2002 13:41:06 +0000 (13:41 +0000)]
updated German translation.
2002-03-02 Sven Neumann <sven@gimp.org>
* de.po: updated German translation.
Tim Janik [Sat, 2 Mar 2002 03:55:00 +0000 (03:55 +0000)]
fix typo.
Sat Mar 2 04:44:10 2002 Tim Janik <timj@gtk.org>
* gtk/gtkaccelgroup.c (gtk_accel_group_connect_by_path): fix typo.
Kristian Rietveld [Fri, 1 Mar 2002 23:08:31 +0000 (23:08 +0000)]
set first_cell to FALSE after first iteration
Fri Mar 1 23:59:35 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set
first_cell to FALSE after first iteration
* gtk/gtktreeview.c (validate_visible_area): reduce usage of
GTK_RBNODE_GET_HEIGHT, check for node != NULL,
(gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed
(gtk_tree_view_search_iter): select iter after scrolling
Tor Lillqvist [Fri, 1 Mar 2002 22:41:57 +0000 (22:41 +0000)]
Remove unneeded Win32 stuff inside #ifdef G_OS_WIN32. (Leftover from when
2002-03-02 Tor Lillqvist <tml@iki.fi>
* gtk/gtkitemfactory.c: Remove unneeded Win32 stuff inside #ifdef
G_OS_WIN32. (Leftover from when gtkitemfactory.c handled files.)
Tor Lillqvist [Fri, 1 Mar 2002 22:09:27 +0000 (22:09 +0000)]
gdk/gdkkeys.c (gdk_keyval_convert_case) If the keyval to be converted is
2002-03-01 Tor Lillqvist <tml@iki.fi>
* gdk/gdkkeys.c (gdk_keyval_convert_case)
* gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval
to be converted is one of those that consist of a Unicode
character plus our special flag bit, use the
g_unichar_to{lower,upper} functions (Bug#73112).
* gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for
the GDK keysym symbols. As we include gdkkeysyms.h, we know they
are there. And if GDK keysyms some day are added/removed, this
function needs changes, too, anyway.
Owen Taylor [Fri, 1 Mar 2002 22:01:51 +0000 (22:01 +0000)]
Fix some reported (but not significant) UMR's from purify. (#73160, Morten
Fri Mar 1 17:00:28 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpolyreg-generic.c: Fix some reported (but not significant)
UMR's from purify. (#73160, Morten Welinder)
Owen Taylor [Fri, 1 Mar 2002 21:53:22 +0000 (21:53 +0000)]
Initialize the scrollbar spacing variable in the class to -1, and then
Fri Mar 1 16:48:19 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkscrolledwindow.c: Initialize the scrollbar spacing
variable in the class to -1, and then take that to mean
"default" (3) rather than putting 3 in the class directly.
This gives us some wiggle room to make it a per-instance
rather than a per-class property later.
jacob berkman [Fri, 1 Mar 2002 20:03:06 +0000 (20:03 +0000)]
replace uses of test -e with more portable test -f
2002-03-01 jacob berkman <jacob@ximian.com>
* Makefile.am (install-data-hook):
(dist-hook): replace uses of test -e with more portable test -f
Owen Taylor [Fri, 1 Mar 2002 19:50:43 +0000 (19:50 +0000)]
Don't delete forward across line boundaries when in overwrite mode.
Fri Mar 1 14:49:35 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete
forward across line boundaries when in overwrite mode.
(#73145, reported by Ettore Perazzoli)
Owen Taylor [Fri, 1 Mar 2002 15:41:59 +0000 (15:41 +0000)]
Fix signed-unsigned error that was accidentally causing negative values to
Fri Mar 1 10:31:14 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Fix signed-unsigned error that was accidentally causing
negative values to append, do it intentionally. Fix docs
to say that negative values append. (Alexey A. Malyshev,
#73108)
Owen Taylor [Fri, 1 Mar 2002 15:40:12 +0000 (15:40 +0000)]
Add note about gtk_notebook_reorder_child().
Fri Mar 1 10:35:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/changes-2.0.sgml: Add note about gtk_notebook_reorder_child().
Alexey Malyshev [Fri, 1 Mar 2002 14:46:38 +0000 (14:46 +0000)]
gtk+/gtk/gtkitemfactory.c fixed a little type in docs for
2002-03-01 Alexey Malyshev <maa@sparc.spb.su>
* gtk+/gtk/gtkitemfactory.c
fixed a little type in docs for gtk_notebook_set_show_border()
Owen Taylor [Fri, 1 Mar 2002 14:12:56 +0000 (14:12 +0000)]
Really make it work for paths with underline accelerators. (#69247)
Fri Mar 1 09:05:19 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkitemfactory.c (gtk_item_factory_delete_entries):
Really make it work for paths with underline accelerators. (#69247)
Stanislav Visnovsky [Fri, 1 Mar 2002 12:07:24 +0000 (12:07 +0000)]
Updated Slovak translation.
2002-03-01 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Yuri Syrota [Fri, 1 Mar 2002 07:44:30 +0000 (07:44 +0000)]
Updated Ukrainian translation
Havoc Pennington [Fri, 1 Mar 2002 04:39:00 +0000 (04:39 +0000)]
free the tab array for custom tabs, reported by Paolo Maggi #72980
2002-02-28 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
for custom tabs, reported by Paolo Maggi #72980
Owen Taylor [Fri, 1 Mar 2002 01:05:11 +0000 (01:05 +0000)]
include gdkkeysysms.h if compiling gdk_keyval_convert_case.
Thu Feb 28 19:55:01 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkkeys.c: include gdkkeysysms.h if
compiling gdk_keyval_convert_case.
* gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
<Control>Tab <Control><Shift>Tab to cycle between
all menu bars in a toplevel once one is up.
* tests/testgtk.c: Add a second menubar, this
example is already full of crack anyways.
* gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
unhandled events up to the parent menu shell.
* gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
pop up the menu if the parent menu shell is still active.
* gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
old_focus argument, export privately.
Darin Adler [Thu, 28 Feb 2002 23:46:18 +0000 (23:46 +0000)]
Add missing NULL check.
* gtk/gtkfilesel.c: (open_new_dir): Add missing NULL check.
Tor Lillqvist [Thu, 28 Feb 2002 23:38:55 +0000 (23:38 +0000)]
Remove the event_mask, it is now in GdkWindowObject.
2002-03-01 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Remove
the event_mask, it is now in GdkWindowObject.
* gdk/win32/gdkwindow-win32.c: Change accordingly. Set the
GDK_STRUCTURE_MASK in gdk_window_set_events(), as it is always set
in gdk_window_new(), too. (Bug#72921)
* gdk/win32/gdkevents-win32.c: Change accordingly here, too.
(vk_from_char): New function, calculates the virtual keycode
corresponding to the char in a WM_CHAR message.
(build_keypress_event, build_keyrelease_event): Use it.
(build_keypress_event): Call ImmReleaseContext() after using the
input context. This might plug a memory or resource leak.
(build_key_event_state): Remove #if 0 code.
(gdk_event_translate): Actually, it would be preferrable to always
handle just the WM_KEYDOWN and WM_KEYUP messages, not WM_CHAR at
all, and thus drop the contorted logic with ignore_wm_char etc.
* gdk/win32/gdkkeys-win32.c: (gdk_keymap_get_entries_for_keyval):
Debugging output.
(gdk_keymap_translate_keyboard_state): Return correct value. (But
_gtk_key_hash_lookup() doesn't check the return value...)
Andraz Tori [Thu, 28 Feb 2002 23:35:45 +0000 (23:35 +0000)]
Updated Slovenian translation
Pauli Virtanen [Thu, 28 Feb 2002 23:31:46 +0000 (23:31 +0000)]
Updated Finnish translation.
2002-03-01 Pauli Virtanen <pauli.virtanen@hut.fi>
* fi.po: Updated Finnish translation.
Owen Taylor [Thu, 28 Feb 2002 21:09:04 +0000 (21:09 +0000)]
Initialize private->event_mask from attributes we retrieved for the
Thu Feb 28 14:49:08 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): Initialize
private->event_mask from attributes we retrieved for
the window.
Havoc Pennington [Thu, 28 Feb 2002 19:51:13 +0000 (19:51 +0000)]
This change went in a week ago, but I apparently didn't commit the
ChangeLog entry.
2002-02-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextbuffer.c (save_range): change gravity of start/end
marks so that text added at either end of the range doesn't end up
inside the range.
(gtk_text_buffer_real_insert_range): fix to handle pasting a range
into itself.
Ole Laursen [Thu, 28 Feb 2002 19:09:09 +0000 (19:09 +0000)]
Updated Danish translation.
2002-02-28 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.